<template>
    <div class="page">
        <!-- 导航栏 -->
        <div class="navBar"> 
           <customNavBar :leftTetx = leftTetx :titleTest = titleTest></customNavBar>
        </div>
        <!-- 页面内容 -->
        <div class="content">
            <van-space  direction="vertical" :size="20" class="textView">
                <div class="textOne">{{surname}}的保单检视报告</div>
                <div class="textTwo">报告生成时间：{{timeReport}}</div>
                <div class="textThree">{{ insuranceName}}保险公司 代理人：{{agent}}</div>
            </van-space>
            <van-button class="experienceBut">立即开启</van-button>
        </div>
    </div>
</template>

<script lang="ts" setup name="addCustomers">
import { useRouter, useRoute } from "vue-router"
import { Toast } from '/@/utils/Message';
import { onMounted } from "vue"
import { reactive, ref } from 'vue'
import customNavBar from  "/src/components/NavBar/customNavBar.vue"
const router = useRouter()
const route = useRoute()
const leftTetx = ref("")
const titleTest = ref("邀请信")
const surname = ref("瑞阳")
const timeReport = ref("2023-10-25 10:02:00")
const insuranceName = ref("中农")
const agent = ref("耀腾")
</script>

<!-- less嵌套设置 -->
<style lang="less" scoped>
.page{
    background-color:rgba(250,250,250,1);
    height:100vh;   
    width:100vw;    
    overflow: hidden;
    
    .content{
        height: 100%;
        width: 100%;
        padding-top: 68px;
        overflow: hidden;
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
        .textView{
            text-align: center;
            margin-top: 150px;
            
            .textOne{
                font-size: 18px;
            }
            .textTwo{
                font-size: 15px;
            }
            .textThree{
                margin-top: 5px;
                font-size: 15px;
            }

        }

        .experienceBut{
            margin-top: 200px;
            height: 50px;
            width: 90%;
            border-radius: 25px;
            color:white;
            font-size: 18px;
            background-color: rgb(46, 46, 167);
        }
    }   
}

</style>

